<%@page import="bean.MemberShipVo"%>
<%@page import="bean.MemberShipDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="stylesheet" href="/TestWeb/css/memberShip.css">
<script src='./js/main.js'></script>
<title>Insert title here</title>
</head>
<body>

<jsp:useBean id="vo" class="bean.MemberShipVo" scope="page"/>
<jsp:setProperty property="*" name="vo"/>
<%
	MemberShipDTO dto =new MemberShipDTO();
	dto.setVo(vo);
	MemberShipVo v = dto.selecTwo();
%>
<div id="wrap">	
<div id="memberShip_title">
		<h1>비밀번호 찾기</h1>
	</div>

<form name ="ff" method='post'>
<div class="line"><label>비밀번호 질문</label><select name='pass_request' size='1'>
<option value='1'>가장 좋아하는 색깔은?</option>
<option value='2'>가장 좋아하는 계절은?</option>
<option value='3'>가장 좋아하는 음식은?</option>
<option value='4'>가장 좋아하는 배우는?</option>
</select></div><br/>

<div class="line"><div id="line"><label>비밀번호 답변:<input type='text' name='answer' value="<%=vo.getAnswer() %>"/></label></div><br/>
<input type="button" value='비밀번호 찾기' id="btnSp"/>
</form>
</div>
	<form name='hifrm' method='post' >
		<input type='hidden' name='pass_request'>
		<input type='hidden' name='answer'>
	</form>
<script>search_pw2(); </script>
</body>
</html>